﻿
using System.Linq.Expressions;
namespace DomSharp{
public partial class HtmlElement{

internal IntOrString ClientWidth {get;set;}
internal IntOrString Value {get;set;}

public ValueTask<IntOrString> GetClientWidth(){
        return new DomQueryable(Expression.PropertyOrField(expression,"ClientWidth")).Execute<IntOrString>();
        }

        public ValueTask SetClientWidth(IntOrString value){
        return new DomQueryable(Expression.Assign(Expression.PropertyOrField(expression,"ClientWidth"),Expression.Constant(value))).Execute();
        }
public ValueTask<IntOrString> GetValue(){
        return new DomQueryable(Expression.PropertyOrField(expression,"Value")).Execute<IntOrString>();
        }

        public ValueTask SetValue(IntOrString value){
        return new DomQueryable(Expression.Assign(Expression.PropertyOrField(expression,"Value"),Expression.Constant(value))).Execute();
        }
}
}